package com.wenxixuanwu.fruitstore.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author :小凡凡
 * @version :1.0
 * @Project :fruitstore
 * @Date :2022/4/22
 */
@Data
public class Banner {
    //轮播图id
    private Integer id;
    //轮播图路径
    private String url;
    //轮播图类别
    private String categorys;
    //创建日期
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date bCreatDate;
}
